﻿@model Test.Entities.Website

@section TitleContent {
Control Panel
}

@section HeadContent {
		<script type="text/javascript" src="@Url.Content("~/Content/Scripts/jquery.validate.min.js")"></script>
		<script type="text/javascript" src="@Url.Content("~/Content/Scripts/jquery.validate.unobtrusive.min.js")"></script>
}

				<div class="contentRegion">
					<div class="contentRegionFull">
						<div class="contentRegionHeader">New Website</div>
						<div class="contentRegionContainer">
							@using (Html.BeginForm()) {
								@Html.ValidationSummary(true)
								@Html.HiddenFor(model => model.OwnerId)
								@Html.HiddenFor(model => model.ParentId)
								<div class="editor-label">
									@Html.LabelFor(model => model.Name)
								</div>
								<div class="editor-field">
									@Html.EditorFor(model => model.Name)
									@Html.ValidationMessageFor(model => model.Name)
								</div>

								<p>
									<input type="submit" value="Create" />
								</p>
							}

							<div>
								@Html.ActionLink("Back to List", "edit")
							</div>
						</div>
					</div>
				</div>
